package cn.crex1.microservice.upms.service.impl;

import cn.crex1.microservice.upms.mapper.SysUserMapper;
import cn.crex1.microservice.upms.pojo.SysUser;
import cn.crex1.microservice.upms.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private SysUserMapper userMapper;

    @Override
    public SysUser findByUsername(String username) {
//        Example example = Example.builder(SysUser.class)
//                .where(Sqls.custom().andEqualTo("username",username))
//                .build();
//        return userMapper.selectOneByExample(example);
        return null;
    }
}
